package com.wnxy.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.portal.common.result.Result;
import com.wnxy.portal.entity.User;
import com.wnxy.portal.model.dto.RegisterDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Jet
 * @since 2023-12-11
 */
public interface IUserService extends IService<User> {

    User login(String name, String password);

    void register(RegisterDTO registerDTO);
}
